package com.ytjj.qmyx.mall.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class ProductSpec implements Serializable {
    /**
     * 主键
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 商品id
     *
     * @mbg.generated
     */
    private Integer productId;

    /**
     * sku规格json
     *
     * @mbg.generated
     */
    private String skuSpec;

    /**
     * 售价
     *
     * @mbg.generated
     */
    private BigDecimal price;

    /**
     * 直接购买价
     *
     * @mbg.generated
     */
    private BigDecimal curPrice;

    /**
     * 成本价格
     *
     * @mbg.generated
     */
    private BigDecimal costPrice;

    /**
     * 原价
     *
     * @mbg.generated
     */
    private BigDecimal originalPrice;

    /**
     * 商品图
     *
     * @mbg.generated
     */
    private String proImg;

    /**
     * 销量
     *
     * @mbg.generated
     */
    private Integer buySum;

    /**
     * 库存
     *
     * @mbg.generated
     */
    private Integer stock;

    /**
     * 状态
     *
     * @mbg.generated
     */
    private Byte status;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 修改时间
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
     * 供应商商品id
     *
     * @mbg.generated
     */
    private Integer bankerProductId;

    /**
     * 测评库商品id
     *
     * @mbg.generated
     */
    private Integer evaluationProductId;

    /**
     * 外部sku-id
     *
     * @mbg.generated
     */
    private String threeSkuId;

    /**
     * 测评库存
     *
     * @mbg.generated
     */
    private Integer evaluationStock;

    /**
     * 商品条码
     *
     * @mbg.generated
     */
    private String goodsCode;

    /**
     * 供货价
     *
     * @mbg.generated
     */
    private BigDecimal supplyPrice;

    /**
     * 建议售价
     *
     * @mbg.generated
     */
    private BigDecimal salePrice;

    /**
     * 供应链规格表id
     */
    private Integer supplyId;

    /**
     * 市场价
     */
    private BigDecimal marketPrice;

    private static final long serialVersionUID = 1L;

    public Integer getSupplyId() {
        return supplyId;
    }

    public void setSupplyId(Integer supplyId) {
        this.supplyId = supplyId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getSkuSpec() {
        return skuSpec;
    }

    public void setSkuSpec(String skuSpec) {
        this.skuSpec = skuSpec;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getCurPrice() {
        return curPrice;
    }

    public void setCurPrice(BigDecimal curPrice) {
        this.curPrice = curPrice;
    }

    public BigDecimal getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(BigDecimal costPrice) {
        this.costPrice = costPrice;
    }

    public BigDecimal getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(BigDecimal originalPrice) {
        this.originalPrice = originalPrice;
    }

    public String getProImg() {
        return proImg;
    }

    public void setProImg(String proImg) {
        this.proImg = proImg;
    }

    public Integer getBuySum() {
        return buySum;
    }

    public void setBuySum(Integer buySum) {
        this.buySum = buySum;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getBankerProductId() {
        return bankerProductId;
    }

    public void setBankerProductId(Integer bankerProductId) {
        this.bankerProductId = bankerProductId;
    }

    public Integer getEvaluationProductId() {
        return evaluationProductId;
    }

    public void setEvaluationProductId(Integer evaluationProductId) {
        this.evaluationProductId = evaluationProductId;
    }

    public String getThreeSkuId() {
        return threeSkuId;
    }

    public void setThreeSkuId(String threeSkuId) {
        this.threeSkuId = threeSkuId;
    }

    public Integer getEvaluationStock() {
        return evaluationStock;
    }

    public void setEvaluationStock(Integer evaluationStock) {
        this.evaluationStock = evaluationStock;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public BigDecimal getSupplyPrice() {
        return supplyPrice;
    }

    public void setSupplyPrice(BigDecimal supplyPrice) {
        this.supplyPrice = supplyPrice;
    }

    public BigDecimal getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(BigDecimal salePrice) {
        this.salePrice = salePrice;
    }

    public BigDecimal getMarketPrice() {
        return marketPrice;
    }

    public void setMarketPrice(BigDecimal marketPrice) {
        this.marketPrice = marketPrice;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", productId=").append(productId);
        sb.append(", skuSpec=").append(skuSpec);
        sb.append(", price=").append(price);
        sb.append(", curPrice=").append(curPrice);
        sb.append(", costPrice=").append(costPrice);
        sb.append(", originalPrice=").append(originalPrice);
        sb.append(", proImg=").append(proImg);
        sb.append(", buySum=").append(buySum);
        sb.append(", stock=").append(stock);
        sb.append(", status=").append(status);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", bankerProductId=").append(bankerProductId);
        sb.append(", evaluationProductId=").append(evaluationProductId);
        sb.append(", threeSkuId=").append(threeSkuId);
        sb.append(", evaluationStock=").append(evaluationStock);
        sb.append(", goodsCode=").append(goodsCode);
        sb.append(", supplyPrice=").append(supplyPrice);
        sb.append(", salePrice=").append(salePrice);
        sb.append(", marketPrice=").append(marketPrice);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}